import 'package:flutter/material.dart';
import 'package:nylo_framework/nylo_framework.dart';

class DrawnPaper extends StatefulWidget {
  DrawnPaper({Key? key}) : super(key: key);

  static String state = "drawn_paper";

  @override
  _DrawnPaperState createState() => _DrawnPaperState();
}

class _DrawnPaperState extends NyState<DrawnPaper> {
  _DrawnPaperState() {
    stateName = DrawnPaper.state;
  }

  @override
  init() async {
    super.init();
  }

  @override
  stateUpdated(dynamic data) async {
    // e.g. to update this state from another class
    // updateState(DrawnPaper.state, data: "example payload");
  }

  @override
  Widget build(BuildContext context) {
    return Container(
      child: Text("抽取到的"),
    );
  }
}
